function doSearch() {
	$('#tt').datagrid('load', {
		startDate : $('#startDate').datebox('getValue'),
		endDate : $('#endDate').datebox('getValue')
	});
}

$(function(){
    $('#tt').datagrid({
        view: detailview,
        detailFormatter:function(index,row){
            return '<div class="ddv" style="padding:5px 0"></div>';
        },
        onExpandRow: function(index,row){
            var ddv = $(this).datagrid('getRowDetail',index).find('div.ddv');
            ddv.panel({
                border:false,
                cache:false,
                href:'/ipreq/imsi/getClientInfoDetail?day='+row.day,
                onLoad:function(){
                    $('#tt').datagrid('fixDetailRowHeight',index);
                }
            });
            $('#tt').datagrid('fixDetailRowHeight',index);
        }
    });
});